﻿using AsposeWordTest;
using CommTestNFW.ImageCode;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommTestNFW
{
    class Program
    {
        public static string path = "D:/test/print-img";
        static void Main(string[] args)
        {
            Stopwatch stopwatch = new Stopwatch();
            stopwatch.Start();

            var images = CodeHepler.Build();
            //var imagePath = $"{path}/test.jpg";

            stopwatch.Stop();
            Debug.WriteLine($@"CodeHepler - {stopwatch.Elapsed}");
            stopwatch.Restart();

            foreach (var imagePath in images)
            {
                new AsposeWordHelper().Build(imagePath);
            }

            stopwatch.Stop();
            Debug.WriteLine($@"AsposeWordHelper - {stopwatch.Elapsed}");
            stopwatch.Restart();

            new PrintHelper().Build(images);

            stopwatch.Stop();
            Debug.WriteLine($@"PrintHelper - {stopwatch.Elapsed}");
        }
    }
}
